package com.ruoyi.project.system.stream.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 视频流对象 sys_video_stream
 * 
 * @author ruoyi
 * @date 2024-11-11
 */
public class VideoStream extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long streamId;

    /**  */
    @Excel(name = "")
    private Long videoLiveId;

    /**  */
    @Excel(name = "")
    private Long streamStatus;

    /**  */
    @Excel(name = "")
    private String pushUrl;

    /**  */
    @Excel(name = "")
    private String pullRtmpUrl;

    /**  */
    @Excel(name = "")
    private String pullM3u8Url;

    public void setStreamId(Long streamId) 
    {
        this.streamId = streamId;
    }

    public Long getStreamId() 
    {
        return streamId;
    }

    public void setVideoLiveId(Long videoLiveId) 
    {
        this.videoLiveId = videoLiveId;
    }

    public Long getVideoLiveId() 
    {
        return videoLiveId;
    }

    public void setStreamStatus(Long streamStatus) 
    {
        this.streamStatus = streamStatus;
    }

    public Long getStreamStatus() 
    {
        return streamStatus;
    }

    public void setPushUrl(String pushUrl) 
    {
        this.pushUrl = pushUrl;
    }

    public String getPushUrl() 
    {
        return pushUrl;
    }

    public void setPullRtmpUrl(String pullRtmpUrl) 
    {
        this.pullRtmpUrl = pullRtmpUrl;
    }

    public String getPullRtmpUrl() 
    {
        return pullRtmpUrl;
    }

    public void setPullM3u8Url(String pullM3u8Url) 
    {
        this.pullM3u8Url = pullM3u8Url;
    }

    public String getPullM3u8Url() 
    {
        return pullM3u8Url;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("streamId", getStreamId())
            .append("videoLiveId", getVideoLiveId())
            .append("streamStatus", getStreamStatus())
            .append("pushUrl", getPushUrl())
            .append("pullRtmpUrl", getPullRtmpUrl())
            .append("pullM3u8Url", getPullM3u8Url())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
